import request from '@/sheep/request';

const ConfigApi = {
  // 查询分类配置列表
  getByCategory: (category) => {
    return request({
      url: '/infra/config/getByCategory',
      method: 'GET',
      params: {
        category,
      },
    });
  },
};

export default ConfigApi;
